package com.wntms.wy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/*CREATE TABLE `customer_complain` (
        `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ccid',
        `fid` varchar(50) DEFAULT NULL COMMENT '货运合同表id',
        `complain_content` varchar(50) DEFAULT NULL COMMENT '投诉内容',
        `complain_time` datetime DEFAULT NULL COMMENT '投诉时间',
        `complaint` varchar(20) DEFAULT NULL COMMENT '投诉人',
        `iswether` tinyint(1) DEFAULT NULL COMMENT '是否处理',
        PRIMARY KEY (`id`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='客户投诉表'*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerComplain {
    private Integer id;
    private String fid;
    private String complain_content;
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date complain_time;
    private String complaint;
    private Integer iswether;
}
